<?php
$route['shop/featured'] = 'shop/featured';
$route['shop/browse/(:num)'] = 'shop/browse/$1';
$route['shop/browse/(:num)/(:any)'] = 'shop/browse/$1/$2';
$route['shop/browse/(:num)/(:any)/(:any)'] = 'shop/browse/$1/$2/$3';
$route['shop/browse/(:num)/(:any)/(:any)/(:any)'] = 'shop/browse/$1/$2/$3/$4';
$route['shop/viewproduct/(:num)'] = 'shop/viewproduct/$1';
$route['shop/tag/(:any)'] = 'shop/tag/$1';
$route['shop/search'] = 'shop/search';
$route['shop/search/page'] = 'shop/search/page';
$route['shop/search/page/(:num)'] = 'shop/search/page/$1';
$route['shop/cart'] = 'shop/cart';
$route['shop/cart/(:any)'] = 'shop/cart/$1';
$route['shop/cart/(:any)/(:any)'] = 'shop/cart/$1/$2';
$route['shop/checkout'] = 'shop/checkout';
$route['shop/create_account'] = 'shop/create_account';
$route['shop/create_account/(:any)'] = 'shop/create_account/$1';
$route['shop/account'] = 'shop/account';
$route['shop/account/(:any)'] = 'shop/account/$1';
$route['shop/subscriptions'] = 'shop/subscriptions';
$route['shop/orders'] = 'shop/orders';
$route['shop/view_order/(:any)'] = 'shop/view_order/$1';
$route['shop/login'] = 'shop/login';
$route['shop/login/(:any)'] = 'shop/login/$1';
$route['shop/logout'] = 'shop/logout';
$route['shop/forgotten'] = 'shop/forgotten';
$route['shop/reset/(:any)'] = 'shop/reset/$1';
$route['shop/recommend/(:any)'] = 'shop/recommend/$1';
$route['shop/review/(:any)'] = 'shop/review/$1';
$route['shop/cancel'] = 'shop/cancel';
$route['shop/success'] = 'shop/success';
$route['shop/success/(:any)'] = 'shop/success/$1';
$route['shop/donation'] = 'shop/donation';
$route['shop/donation/(:any)'] = 'shop/donation/$1';
$route['shop/invoice/(:any)/(:any)'] = 'shop/invoice/$1/$2';
$route['shop/ipn'] = 'shop/ipn';
$route['shop/response'] = 'shop/response';

$route['shop/(:any)/(:any)/page/(:num)'] = 'shop/browse/$2/$1/page/$3';
$route['shop/(:any)/(:any)/page'] = 'shop/browse/$2/$1/page';
$route['shop/(:num)/(:any)'] = 'shop/viewproduct/$1';
$route['shop/(:any)/page/(:num)'] = 'shop/browse/$1/page/$2';
$route['shop/(:any)/page'] = 'shop/browse/$1/page';
$route['shop/(:any)/(:any)'] = 'shop/browse/$2/$1';
$route['shop/(:any)'] = 'shop/browse/$1';
